home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10710 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: inforamp.net!ts10-07
  2. From: rmorin@inforamp.net (Randy Charles Morin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: How can I include IOSTREAM.H only once?
  5. Date: Sat, 09 Mar 96 17:53:05 GMT
  6. Organization: MiddleWorld SoftWare
  7. Message-ID: <4hsgid$pmm@sam.inforamp.net>
  8. References: <4hbi55$899@sam.inforamp.net> <4hc09v$136@news1.usa.pipeline.com> <4hj42l$elu@sam.inforamp.net> <4hqck8$fvc@uuneo.neosoft.com>
  9. NNTP-Posting-Host: ts10-07.tor.inforamp.net
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <4hqck8$fvc@uuneo.neosoft.com>,
  13.    Wmatthew@lan-aces.com (W. Matthews) wrote:
  14. >I haven't seen the entire string relating to this, but some compilers have
  15. >a useful #define statement in the include files.
  16. >The way to take advantage of this is to do something along the following
  17. >lines in each source module that may include a particular header.  However,
  18. >this does not work in every situation: (I use stdio.h as an example)
  19. >#ifndef __STDIO__
  20. >#include <stdio.h>
  21. >#endif
  22.  
  23. That was my orinal suggestion.  Thanks for backing me up.  But this Pete guy 
  24. had to say my suggestion didn't address the question.  He's done that to me 
  25. twice this week.  Thanks for the reply.
  26.  
  27. Agrivar
  28.  
  29. Thanks again.
  30.